﻿namespace OboutInc.Flyout2.Effects
{
    using OboutInc.Flyout2;
    using System;

    [Serializable]
    internal class Flying : Effect
    {
        private FlyingEffectStyle startpos;

        public Flying(FlyingEffectStyle StartPosition)
        {
            this.startpos = StartPosition;
        }

        public override string libraryLocation()
        {
            return "OboutInc.Flyout2.script.effect_flying.js";
        }

        public override string renderInit()
        {
            return ("new FlyingEffect('" + this.startpos + "')");
        }
    }
}

